The second way to get a paramErr from PrClosePage is more esoteric. If you've hidded the menu bar before printing, and leave it hidden, some drivers will report a paramErr when
PrClosePage is called. What's happening is that somewhere deep in the
Print Manager, one of the Print Manager routines is calling a QD function with the Menu Bar's
rectangle as the parameter. This QuickDraw function sees the empty
rectangle (because you've hidden the menu bar), and sets
QDError to paramErr. The driver checks QDError when it's done printing,
sees the error, and sets PrError to the error. Note: this only happens on 68K machines, not on PPCs, although 68k QuickDraw in general does less error
checking, and seldom sets QDError.